package com.leyou.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leyou.item.pojo.SpecGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface SpecGroupMapper extends BaseMapper<SpecGroup> {
    @Update("update tb_spec_group set name = #{name} where id = #{gid}")
    int updateById(@Param("gid") Long gid,@Param("name") String name );
}
